package com.study.java.jinjie.string;

public class MyString {
    // "vbdjkvbjk表达式v笔记本的v即可1561616"
    //
    String test;

    public static  void main(String[]  args){


        if (args!=null && args.length>0){
            System.out.println("您好!");
        }

        // 1 845565 + - * / %

        String string = "hello";
        String stringhh = "hello";


        // java虚拟机
        // Java源码        =>   class文件       ==>  JVM java虚拟机  ==> CPU
        // MyString.java  =>  MyString.class   ==>  虚拟机         ==> CPU


        System.out.println(string==stringhh);

        String string22 = new String("Hello");
        String string23 = new String("hello");


        String ssss = "hello";
        System.out.println(string22==string23);
        System.out.println(string22.equals(ssss));
        System.out.println(string22.equalsIgnoreCase(ssss));

        System.out.println("\n\n");


        int[] ints = {0, 2};
        int[] int2 = {0, 2};
        int i = 5;
        int i2 = 5;



        boolean b = i == i2;
        boolean b2 = ints == int2;

       /* System.out.println(b);
        System.out.println(b2);

        String s1 = "hello  world";
        String s2 = "Hello";

        System.out.println(s1.equals(s2));
        System.out.println(s1.equalsIgnoreCase(s2));
        System.out.println(s1.contains("hell"));
*/




    }



    public MyString(int x){

    }

    public static int test(int x){
        x = x+5;
        return x;
    }



}
